#pragma once
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>
#include<stdbool.h>
typedef int BTNode;
typedef struct TreeNode
{
	BTNode val;
	struct TreeNode* left;
	struct TreeNode* right;
}TreeNode;

int BinaryTreeSize(TreeNode* root);
int BinaryTreeKLevelSize(TreeNode* root, int k);	
BTNode* BTFind(TreeNode* root, BTNode x);
void LevelOrder(TreeNode* root);
bool IsCompleteTree(TreeNode* root);